# -*- coding: utf-8 -*-
# @Time    : 2020/8/25 上午10:58
# @Author  : lilong

"""
该入口是 rasa init 一个官方demo：麻雀虽小，五脏俱全

debug模式太麻烦，要改一些代码，所以只能命令行运行

命令行调试：
# conda activate rasa_dev
# cd /Users/lilong/Desktop/rasa_chatbot
# python ./rasa/__main__.py init

"""

import argparse

from rasa.cli import scaffold


parser = argparse.ArgumentParser(description='test rasa init cmd.')
parser.add_argument(
        "--no-prompt",
        action="store_true",
        help="Automatically choose default options for prompts and suppress warnings.",
    )
parser.add_argument(
        "--init-dir",
        default=None,
        help="Directory where your project should be initialized.",
    )

# rasa init 测试
path = "../bot_playground/bot_init"
# scaffold.init_project(parser, path)

